//
//  FPBorrowingAndRepaymentCell.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/8.
//

#import "FPBaseTableViewCell.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger , FPBorrowingStatusType) {
    
    FPBorrowingStatusTypeInReview, //!< 借款记录 审核中
    FPBorrowingStatusTypeSuccess, //!< 借款记录 成功下款
    FPBorrowingStatusTypeFaild, //!< 借款记录 下款失败
};

typedef NS_ENUM(NSInteger , FPRepaymentStatusType) {
    
    FPRepaymentStatusTypeRepaying, //!< 还款记录 还款中
    FPRepaymentStatusTypeRepaid, //!< 还款记录 已结清
};

@interface FPBorrowingAndRepaymentCell : FPBaseTableViewCell

@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLab;
@property (weak, nonatomic) IBOutlet UILabel *statusLab;
@property (weak, nonatomic) IBOutlet UIImageView *arrowImgView;


- (void)setBorrowingListStatus:(FPBorrowingStatusType)status; // 借款状态（0代表审核中 1代表已放款 2代表放款失败
- (void)setRepaymentListStatus:(FPRepaymentStatusType)status; // 还款状态 (0未结清 1已结清）


@end

NS_ASSUME_NONNULL_END
